// 主体背景色
$mainBg:#FFFFFF;
$tableTh: #F6F6F6;
.zj-table {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  .zj-table__container{
    border: 1px solid #EBEEF5;
  }

  &__body {
    font-size: 16px;
  }

  &__page {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    // margin: 0 auto;
    // margin-top: 10px;
    background:$mainBg;
    .el-pagination {
      display: inline-block;
      &.is-background .el-pager li:not(.disabled).active {
        background-color: #1AA97B;
      }
    }
  }
  &__toolbar {
    display: flex;
    // padding-left: 10px;
    justify-content: space-between;
    // padding: 10px 0;
    padding-bottom: 20px;
    background-color: $mainBg;
    // margin-top: 8px;
    // margin-bottom: 8px;
    // margin-bottom: 14px;
  }

  &__buttons {
    display: flex;
    margin: auto 0;
    .el-dropdown {
      width: auto;
      margin: 0 10px;
    }
  }

  &__actionbutton {
    font-size: 14px;
  }

  &__search {
    display: flex;
    align-items: center;
    width: 600px;
    max-width: 100%;
  }

  &__searchbtn {
    min-width: 40px;
    margin-left: 10px;
    .el-button {
      height: 30px;
    }
  }

  &__simpleform {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    // width: 600px;
    max-width: 600px;
    height: auto;
    .el-form-item__content {
      overflow: hidden;
    }
    .el-form-item--small.el-form-item {
      margin-bottom: 0;
    }
  }

  &__link {
    max-width: 100%;
    font-size: 14px;
    .el-link--inner {
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      cursor: pointer;
    }
  }

  .el-table {
    border: 0;
    // border-top: 1px solid #ebeef5;
    &::after {
      background-color: transparent;
    }
  }

  .el-table__header {
    th {
      padding-top: 12px;
      padding-bottom: 12px;
      font-weight: 700;
      color: #000;
      background-color: $tableTh;
      &:last-child {
        border-right: none;
      }
    }
  }

  .el-table__row {
    td {
      padding-top: 10px;
      padding-bottom: 10px;
      color: #5a6070;
      &:last-child {
        border-right: 0;
        .cell{
          display: flex;
          justify-content: center;
          .el-link{
            display: block;
            margin-right: 10px;
            margin-left: 10px;
          }
        }
      }
    }
  }

  .el-table__fixed-header-wrapper {
    th:last-child {
      border-right: 0;
    }
  }

  .el-table__row .cell > div {
    width: 92%;
  }

  .el-table__row .cell > div.el-table__expand-icon {
    width: 4%;
  }

  // .zj-table__actioncolumn {
  //   border-right: 0 solid #ebeef5;
  // }
  // .el-table__body-wrapper {
  //   border-right: 0 solid #ebeef5;
  // }

  .zj-table .el-table__row &__actioncolumn {
    border-right: 0 solid #ebeef5;

    .el-button {
      padding-top: 0;
      padding-bottom: 0;
      font-size: 14px;
    }
    .el-dropdown {
      width: auto;
      margin-left: 10px;
    }
  }

  &__column--required {
    .cell::before {
      margin-right: 4px;
      color: #f56c6c;
      content: "*";
    }
  }
}
